package cn.tedu.spring.egg1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestStu {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("bean-stu.xml");
        System.out.println(context.getBean(Stu.class));
    }
}
